package com.ruoyi.boat.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 波浪数据对象 t_wave_data
 *
 * @author ruoyi
 * @date 2023-08-09
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class WaveData extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 艇编号
     */
    @Excel(name = "艇编号")
    private String boatCode;

    /**
     * 数据时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "数据时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    /**
     * 平均波高
     */
    @Excel(name = "平均波高")
    private Double averageHeight;

    /**
     * 平均周期
     */
    @Excel(name = "平均周期")
    private Double averagePeriod;

    /**
     * 最大波高
     */
    @Excel(name = "最大波高")
    private Double maxHeight;

    /**
     * 最大周期
     */
    @Excel(name = "最大周期")
    private Double maxPeriod;

    /**
     * 1/10 波高
     */
    @Excel(name = "1/10 波高")
    private Double oneTenthHeight;

    /**
     * 1/10 周期
     */
    @Excel(name = "1/10 周期")
    private Double oneTenthPeriod;

    /**
     * 有效波高
     */
    @Excel(name = "有效波高")
    private Double significantHeight;

    /**
     * 有效周期
     */
    @Excel(name = "有效周期")
    private Double significantPeriod;

    /**
     * 波数
     */
    @Excel(name = "波数")
    private Integer number;

    /**
     * 波向
     */
    @Excel(name = "波向")
    private Integer direction;
}
